package com.ibigcat.module.mdm.controller.admin.commoditycategory.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.ibigcat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.ibigcat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品分类分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CommodityCategoryPageReqVO extends PageParam {

    @Schema(description = "分类名称", example = "张三")
    private String categoryName;

    @Schema(description = "分类编码")
    private String categoryCode;

    @Schema(description = "分类层级")
    private String categoryLevel;

    @Schema(description = "父级主键", example = "14379")
    private Long parentId;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "启停状态")
    private Boolean disabled;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}